package com.my12306.train.model.vo;

import com.my12306.train.model.entity.CarriageEntity;
import com.my12306.train.model.entity.MileageEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author:mifen
 * @Date:2020/8/17 17:42
 * @Version 1.0
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class MarshallingCarriageVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotNull
    /**
     * 列车编组编号
     */
    private Long groupId;
    /**
     * 编组名称
     */
    private String groupName;
    /**
     * 备用
     */
    private String mark;
    /**
     * 显示状态 0-表示禁用 1-表示正常
     */
    private Integer showStatus;
    /**
     * 逻辑删除 0-表示删除，1-表示正常
     */
    private Integer logicDelete;
    /**
     * 注册时间
     */
    private Date createDate;
    /**
     * 修改时间
     */
    private Date updateDate;
    /**
     * 版本号
     */
    private Integer version;
    @NotNull
    private List<CarriageVo> carriageEntityList;
}
